let base = 'src'
console.log('---NODE_ENV:'+process.env.NODE_ENV)
if(process.env.NODE_ENV === 'production'){
    base = 'dist'
}
export default class Config {
     /** 接口前缀 */
     public static readonly api_prefix = "/api/v1/";

     /** 上传图片存放目录 */
     public static readonly upload_path = "public/upload/images/";
 
     /** 上传图片大小限制 */
     public static readonly upload_img_size = 5 * 1024 * 1024;

     /** 根目录 */
     public static readonly base = base
}
